Newscoop\Entity\Snippet::getFieldsWithoutBackend PHP Method

getFieldsWithoutBackend() public method

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