src/php/Arbit/Periodic/CommandRegistry.php
public function get( $command, Logger $logger )
    {
        if ( !isset( $this->commands[$command] ) )
        {
            $logger->log(
                "Unknown command '$command'.",
                Logger::ERROR
            );
            return false;
        }

        return $this->commands[$command];
    }
public function get( $command, Logger $logger )
    {
        if ( !isset( $this->commands[$command] ) )
        {
            $logger->log(
                "Unknown command '$command'.",
                Logger::ERROR
            );
            return false;
        }

        return $this->commands[$command];
    }
Get command

Returns the Command object, or false on failure.

@param string $command
@param Logger $logger
@return Command