src/Template.php
public function filter($filter)
    {
        if (is_array($filter) != true) {
            $filter = [$filter];
        }

        foreach ($filter as $item) {
            $this->filters[] = str_replace('./', $this->outpath . '/', $item);
        }

        return $this;
    }
public function filter($filter)
    {
        if (is_array($filter) != true) {
            $filter = [$filter];
        }

        foreach ($filter as $item) {
            $this->filters[] = str_replace('./', $this->outpath . '/', $item);
        }

        return $this;
    }
public function filter ( $ filter ) { if ( is_array ( $ filter ) != true ) { $ filter = [ $ filter ] ; } foreach ( $ filter as $ item ) { $ this -> filters [ ] = str_replace ( './' , $ this -> outpath . '/' , $ item ) ; } return $ this ; }
Registrar filtro do template.
Registrar filtro do template .