src/Shell/PurifierShell.php
protected function _getTable()
    {
        $table = TableRegistry::get($this->args[0]);
        $connection = $table->connection();
        $tables = $connection->schemaCollection()->listTables();
        if (!in_array($table->table(), $tables)) {
            $this->abort(__d('Burzum/HtmlPurifier', 'Table `{0}` does not exist in connection `{1}`!', $table->table(), $connection->configName()));
        }
        return $table;
    }
protected function _getTable()
    {
        $table = TableRegistry::get($this->args[0]);
        $connection = $table->connection();
        $tables = $connection->schemaCollection()->listTables();
        if (!in_array($table->table(), $tables)) {
            $this->abort(__d('Burzum/HtmlPurifier', 'Table `{0}` does not exist in connection `{1}`!', $table->table(), $connection->configName()));
        }
        return $table;
    }
protected function _getTable ( ) { $ table = TableRegistry :: get ( $ this -> args [ 0 ] ) ; $ connection = $ table -> connection ( ) ; $ tables = $ connection -> schemaCollection ( ) -> listTables ( ) ; if ( ! in_array ( $ table -> table ( ) , $ tables ) ) { $ this -> abort ( __d ( 'Burzum/HtmlPurifier' , 'Table `{0}` does not exist in connection `{1}`!' , $ table -> table ( ) , $ connection -> configName ( ) ) ) ; } return $ table ; }
Gets the table from the shell args.

@return \Cake\ORM\Table;
Gets the table from the shell args .