Contao\Filter\SqlFiles::accept PHP 메소드

accept() 공개 메소드

Check whether the current element of the iterator is acceptable
public accept ( ) : boolean
리턴 boolean True if the element is acceptable
    public function accept()
    {
        if ($this->hasChildren()) {
            return true;
        }
        if ($this->current()->getExtension() == 'sql') {
            return true;
        }
        return false;
    }
SqlFiles