src/ngrest/base/NgRestModel.php
public function getNgRestRelationByIndex($index)
    {
        $relations = $this->generateNgRestRelations();

        return isset($relations[$index]) ? $relations[$index] : false;
    }
public function getNgRestRelationByIndex($index)
    {
        $relations = $this->generateNgRestRelations();

        return isset($relations[$index]) ? $relations[$index] : false;
    }
public function getNgRestRelationByIndex ( $ index ) { $ relations = $ this -> generateNgRestRelations ( ) ; return isset ( $ relations [ $ index ] ) ? $ relations [ $ index ] : false ; }
Get the NgRest Relation defintion object.

@param integer $index
@return NgRestRelationInterface
@since 2.0.0
Get the NgRest Relation defintion object .