Newscoop\NewscoopBundle\Services\SystemPreferencesService::__get PHP Метод

__get() публичный метод

Magic function to get property value
public __get ( $property ) : string | null
$property Given property
Результат string | null
    public function __get($property)
    {
        $currentProperty = $this->findOneBy($property);
        if (!empty($currentProperty)) {
            $currentProperty = reset($currentProperty);
            return $currentProperty['value'];
        }
    }