src/Parser/IdentifierAndResource.php
/**
     * Read and parse links from schema.
     */
Read and parse links from schema.
Read and parse links from schema .
private function cacheLinks(): void
    {
        if ($this->links === null) {
            $this->links = [];
            foreach ($this->schema->getLinks($this->data) as $name => $link) {
                \assert(\is_string($name) === true && empty($name) === false);
                \assert($link instanceof LinkInterface);
                $this->links[$name] = $link;
            }
        }
    }
private function cacheLinks ( ) : void { if ( $ this -> links === null ) { $ this -> links = [ ] ; foreach ( $ this -> schema -> getLinks ( $ this -> data ) as $ name => $ link ) { \ assert ( \ is_string ( $ name ) === true && empty ( $ name ) === false ) ; \ assert ( $ link instanceof LinkInterface ) ; $ this -> links [ $ name ] = $ link ; } } }
Read and parse links from schema.
Read and parse links from schema .