src/Represent/Builder/Format/HalFormatBuilder.php
protected function getLinks($object, $view)
    {
        $reflection = new \ReflectionClass($object);
        $links = new \stdClass();
        $annot = $this->reader->getClassAnnotation($reflection, '\Represent\Annotations\LinkCollection');

        if ($annot) {
            $links = $this->parseLinks($annot, $view, $links, $object);
        }

        return $links;
    }
protected function getLinks($object, $view)
    {
        $reflection = new \ReflectionClass($object);
        $links = new \stdClass();
        $annot = $this->reader->getClassAnnotation($reflection, '\Represent\Annotations\LinkCollection');

        if ($annot) {
            $links = $this->parseLinks($annot, $view, $links, $object);
        }

        return $links;
    }
protected function getLinks ( $ object , $ view ) { $ reflection = new \ ReflectionClass ( $ object ) ; $ links = new \ stdClass ( ) ; $ annot = $ this -> reader -> getClassAnnotation ( $ reflection , '\Represent\Annotations\LinkCollection' ) ; if ( $ annot ) { $ links = $ this -> parseLinks ( $ annot , $ view , $ links , $ object ) ; } return $ links ; }
Handles getting _links
@param $object
@param $view
@internal param \ReflectionClass $reflection
@return \stdClass
Handles getting _links