src/Generator/Writer/Model/Steps/StubReplaceRelationData.php
protected function getTotalRelevantRelationshipCount()
    {
        return count($this->getCombinedRelationships())
             + count( $this->data['relationships']['image'] )
             + count( $this->data['relationships']['file'] )
             + count( $this->data['relationships']['checkbox'] )
             + count( $this->data['relationships']['category'] );
    }
protected function getTotalRelevantRelationshipCount()
    {
        return count($this->getCombinedRelationships())
             + count( $this->data['relationships']['image'] )
             + count( $this->data['relationships']['file'] )
             + count( $this->data['relationships']['checkbox'] )
             + count( $this->data['relationships']['category'] );
    }
protected function getTotalRelevantRelationshipCount ( ) { return count ( $ this -> getCombinedRelationships ( ) ) + count ( $ this -> data [ 'relationships' ] [ 'image' ] ) + count ( $ this -> data [ 'relationships' ] [ 'file' ] ) + count ( $ this -> data [ 'relationships' ] [ 'checkbox' ] ) + count ( $ this -> data [ 'relationships' ] [ 'category' ] ) ; }
Returns the number of relationships to be considered
for building up the stub replacement.

@return mixed
Returns the number of relationships to be considered for building up the stub replacement .