Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/CRM/CivixBundle/Command/AddAngularPageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
use CRM\CivixBundle\Builder\Template;
use CRM\CivixBundle\Utils\Path;

/**
* @deprecated
*/
class AddAngularPageCommand extends AbstractCommand {

protected function configure() {
Expand Down
5 changes: 4 additions & 1 deletion src/CRM/CivixBundle/Command/AddApiCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
use Exception;
use Symfony\Component\Console\Style\SymfonyStyle;

/**
* @deprecated
*/
class AddApiCommand extends AbstractCommand {
const API_VERSION = 3;

Expand All @@ -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('<EntityName>', InputArgument::REQUIRED, 'The entity against which the action runs (eg "Contact", "MyEntity")')
->addArgument('<actionname>', 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+]')
Expand Down