Newscoop\Entity\Snippet::getFieldsWithoutBackend PHP 메소드

getFieldsWithoutBackend() 공개 메소드

Getter for fields without the Backend scope
public getFieldsWithoutBackend ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection
    public function getFieldsWithoutBackend()
    {
        return $this->fields->filter(function ($field) {
            if ($field->getFieldScope() == 'frontend') {
                return $field;
            }
        });
    }