diff --git a/src/CRM/CivixBundle/Command/AddAngularPageCommand.php b/src/CRM/CivixBundle/Command/AddAngularPageCommand.php index 2a5a0676..ef3de2c8 100644 --- a/src/CRM/CivixBundle/Command/AddAngularPageCommand.php +++ b/src/CRM/CivixBundle/Command/AddAngularPageCommand.php @@ -12,6 +12,9 @@ use CRM\CivixBundle\Builder\Template; use CRM\CivixBundle\Utils\Path; +/** + * @deprecated + */ class AddAngularPageCommand extends AbstractCommand { protected function configure() { diff --git a/src/CRM/CivixBundle/Command/AddApiCommand.php b/src/CRM/CivixBundle/Command/AddApiCommand.php index 9e4006ee..48669de4 100644 --- a/src/CRM/CivixBundle/Command/AddApiCommand.php +++ b/src/CRM/CivixBundle/Command/AddApiCommand.php @@ -15,6 +15,9 @@ use Exception; use Symfony\Component\Console\Style\SymfonyStyle; +/** + * @deprecated + */ class AddApiCommand extends AbstractCommand { const API_VERSION = 3; @@ -25,7 +28,7 @@ public static function getSchedules() { protected function configure() { $this ->setName('generate:api') - ->setDescription('Add a new API function to a CiviCRM Module-Extension') + ->setDescription('Add APIv3 function (DEPRECATED)') ->addArgument('', InputArgument::REQUIRED, 'The entity against which the action runs (eg "Contact", "MyEntity")') ->addArgument('', InputArgument::REQUIRED, 'The action which will be created (eg "create", "myaction")') ->addOption('schedule', NULL, InputOption::VALUE_OPTIONAL, 'Schedule this action as a recurring cron job (' . implode(', ', self::getSchedules()) . ') [For CiviCRM 4.3+]')