src/Common/Traits/Model/Localised.php
public function getAll($iPage = null, $iPerPage = null, array $aData = [], $bIncludeDeleted = false): array
    {
        $aResult = parent::getAll($iPage, $iPerPage, $aData, $bIncludeDeleted);
        $this->addLocaleToResources($aResult);
        return $aResult;
    }
public function getAll($iPage = null, $iPerPage = null, array $aData = [], $bIncludeDeleted = false): array
    {
        $aResult = parent::getAll($iPage, $iPerPage, $aData, $bIncludeDeleted);
        $this->addLocaleToResources($aResult);
        return $aResult;
    }
public function getAll ( $ iPage = null , $ iPerPage = null , array $ aData = [ ] , $ bIncludeDeleted = false ) : array { $ aResult = parent :: getAll ( $ iPage , $ iPerPage , $ aData , $ bIncludeDeleted ) ; $ this -> addLocaleToResources ( $ aResult ) ; return $ aResult ; }
Overloads the getAll to add a Locale object to each resource

@param int|null|array $iPage           The page number of the results, if null then no pagination; also accepts an $aData array
@param int|null       $iPerPage        How many items per page of paginated results
@param array          $aData           Any data to pass to getCountCommon()
@param bool           $bIncludeDeleted If non-destructive delete is enabled then this flag allows you to include deleted items

@return Resource[]
@throws FactoryException
Overloads the getAll to add a Locale object to each resource