library/Garp/Cli/Command/Spawn/Filter.php
protected function _getModuleFilter() {
        $args   = $this->getArgs();
        $only   = self::FILTER_MODULE_COMMAND;

        if (!array_key_exists($only, $args)) {
            return;
        }

        $filter = $args[$only];
        return strtolower($filter);
    }
protected function _getModuleFilter() {
        $args   = $this->getArgs();
        $only   = self::FILTER_MODULE_COMMAND;

        if (!array_key_exists($only, $args)) {
            return;
        }

        $filter = $args[$only];
        return strtolower($filter);
    }
protected function _getModuleFilter ( ) { $ args = $ this -> getArgs ( ) ; $ only = self :: FILTER_MODULE_COMMAND ; if ( ! array_key_exists ( $ only , $ args ) ) { return ; } $ filter = $ args [ $ only ] ; return strtolower ( $ filter ) ; }
Returns the module that should be run, i.e. 'db' or 'files', or null if no filter is given.

@return string
Returns the module that should be run i . e . db or files or null if no filter is given .