コード例 #1
0
    /**
     * @see sfTask
     */
    protected function configure()
    {
        parent::configure();
        $this->aliases = array('delete-system-tasks');
        $this->name = 'delete-system-tasks';
        $this->briefDescription = 'Deletes system tasks';
        $this->detailedDescription = <<<EOF
Deletes system tasks.
EOF;
    }
コード例 #2
0
    /**
     * @see sfTask
     */
    protected function configure()
    {
        parent::configure();
        $this->aliases = array('delete-old-remember-me-keys');
        $this->name = 'delete-old-remember-me-keys';
        $this->briefDescription = 'Deletes old rememberme keys';
        $this->detailedDescription = <<<EOF
Deletes old rememberme keys.
EOF;
    }
コード例 #3
0
    /**
     * @see sfTask
     */
    protected function configure()
    {
        parent::configure();
        $this->aliases = array('check-email-to-inbox');
        $this->name = 'check-email-to-inbox';
        $this->briefDescription = 'Checks whether there are new emails to insert into the inbox';
        $this->addArguments(array(new sfCommandArgument('testNewEmailsDirectory', sfCommandArgument::OPTIONAL, 'The directory where the emails to test sit.')));
        $this->detailedDescription = <<<EOF
Checks whether there are new emails to insert into the inbox.
EOF;
    }
コード例 #4
0
    /**
     * @see sfTask
     */
    protected function configure()
    {
        parent::configure();
        $this->aliases = array('parse-email');
        $this->name = 'parse-email';
        $this->briefDescription = 'Parses an email';
        $this->addArguments(array(new sfCommandArgument('emailFileAbsolutePath', sfCommandArgument::REQUIRED, 'The absolute path of the file when the email is.')));
        $this->detailedDescription = <<<EOF
Parses an email.
EOF;
    }