private function generateSourceSeo($key)
    {
        if (isset($this->{$key})) {
            return $this->{$key};
        }

        $object = $this;
        foreach (explode('.', $key) as $segment) {
            if (!is_object($object) || !$tmp = $object->{$segment}) {
                return null;
            }

            $object = $object->{$segment};
        }

        return $object;
    }
private function generateSourceSeo($key)
    {
        if (isset($this->{$key})) {
            return $this->{$key};
        }

        $object = $this;
        foreach (explode('.', $key) as $segment) {
            if (!is_object($object) || !$tmp = $object->{$segment}) {
                return null;
            }

            $object = $object->{$segment};
        }

        return $object;
    }
private function generateSourceSeo ( $ key ) { if ( isset ( $ this -> { $ key } ) ) { return $ this -> { $ key } ; } $ object = $ this ; foreach ( explode ( '.' , $ key ) as $ segment ) { if ( ! is_object ( $ object ) || ! $ tmp = $ object -> { $ segment } ) { return null ; } $ object = $ object -> { $ segment } ; } return $ object ; }
Get value for seo.

@param string $key
@return string|null
Get value for seo .