private function getAssetTypes()
    {
        $result = [];
        $types = $this->daoTypeAsset->get();
        /** @var ETypeAsset $type */
        foreach ($types as $type) {
            $typeId = $type->getId();
            $typeCode = $type->getCode();
            $result[$typeId] = $typeCode;
        }
        return $result;
    }
private function getAssetTypes()
    {
        $result = [];
        $types = $this->daoTypeAsset->get();
        /** @var ETypeAsset $type */
        foreach ($types as $type) {
            $typeId = $type->getId();
            $typeCode = $type->getCode();
            $result[$typeId] = $typeCode;
        }
        return $result;
    }
private function getAssetTypes ( ) { $ result = [ ] ; $ types = $ this -> daoTypeAsset -> get ( ) ; /** @var ETypeAsset $type */ foreach ( $ types as $ type ) { $ typeId = $ type -> getId ( ) ; $ typeCode = $ type -> getCode ( ) ; $ result [ $ typeId ] = $ typeCode ; } return $ result ; }
Get all asset types.

@return array [id => code]
Get all asset types .