Worked extension examples
These developer-facing recipes are kept beside the package contract. Replace the example values with the site-specific records and data objects used by the calling workflow.
<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildDuplicateMediaQueryAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildMediaHealthQueryAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildMediaHealthTotalsAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildMediaUsageDrilldownAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildMissingAltMediaQueryAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildMissingRightsMetadataQueryAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\BuildOrphanMediaQueryAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DashboardReports\DeleteOrphanMediaRecordsAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\DispatchMissingAltMediaSignalsAction::class)->handle(...$inputs);<?phpdeclare(strict_types=1);$inputs = []; // Supply the arguments required by the action handle() method.resolve(\Capell\MediaLibrary\Actions\MigrateSpatieMediaToCuratorAction::class)->handle(...$inputs);