protected function getPredicateAliasesFromPredicateProperty($predicate)
    {
        $predicates = [];
        if(is_string($predicate) && !empty($predicate))
        {
            $predicates[] = $this->getLabeller()->uri_to_alias($predicate);
        }
        elseif(is_array($predicate))
        {
            foreach($this->getPredicatesFromPredicateFunctions($predicate) as $p)
            {
                $predicates[] = $this->getLabeller()->uri_to_alias($p);
            }
        }

        return $predicates;
    }
protected function getPredicateAliasesFromPredicateProperty($predicate)
    {
        $predicates = [];
        if(is_string($predicate) && !empty($predicate))
        {
            $predicates[] = $this->getLabeller()->uri_to_alias($predicate);
        }
        elseif(is_array($predicate))
        {
            foreach($this->getPredicatesFromPredicateFunctions($predicate) as $p)
            {
                $predicates[] = $this->getLabeller()->uri_to_alias($p);
            }
        }

        return $predicates;
    }
protected function getPredicateAliasesFromPredicateProperty ( $ predicate ) { $ predicates = [ ] ; if ( is_string ( $ predicate ) && ! empty ( $ predicate ) ) { $ predicates [ ] = $ this -> getLabeller ( ) -> uri_to_alias ( $ predicate ) ; } elseif ( is_array ( $ predicate ) ) { foreach ( $ this -> getPredicatesFromPredicateFunctions ( $ predicate ) as $ p ) { $ predicates [ ] = $ this -> getLabeller ( ) -> uri_to_alias ( $ p ) ; } } return $ predicates ; }
Rewrites any predicate uris to alias curies
@param string|array $predicate
@return array
Rewrites any predicate uris to alias curies