src/Device/CustomDeviceRepository.php
public function getAllDevices()
    {
        $devices   = array();
        $devicesId = $this->getAllDevicesID();

        foreach ($devicesId as $deviceId) {
            /** @var $device \Wurfl\Device\ModelDeviceInterface */
            $device    = $this->getDevice($deviceId);
            $devices[] = $device;
        }

        return $devices;
    }
public function getAllDevices()
    {
        $devices   = array();
        $devicesId = $this->getAllDevicesID();

        foreach ($devicesId as $deviceId) {
            /** @var $device \Wurfl\Device\ModelDeviceInterface */
            $device    = $this->getDevice($deviceId);
            $devices[] = $device;
        }

        return $devices;
    }
public function getAllDevices ( ) { $ devices = array ( ) ; $ devicesId = $ this -> getAllDevicesID ( ) ; foreach ( $ devicesId as $ deviceId ) { /** @var $device \Wurfl\Device\ModelDeviceInterface */ $ device = $ this -> getDevice ( $ deviceId ) ; $ devices [ ] = $ device ; } return $ devices ; }
Returns all devices in the repository

@throws \Wurfl\Exception

@return \Wurfl\Device\ModelDeviceInterface[]
Returns all devices in the repository