public function setObjects(array $objects)
    {
        foreach ($objects as $object) {
            $this->checkType(ObjectInFolderDataInterface::class, $object);
        }

        $this->objects = $objects;
    }
public function setObjects(array $objects)
    {
        foreach ($objects as $object) {
            $this->checkType(ObjectInFolderDataInterface::class, $object);
        }

        $this->objects = $objects;
    }
public function setObjects ( array $ objects ) { foreach ( $ objects as $ object ) { $ this -> checkType ( ObjectInFolderDataInterface :: class , $ object ) ; } $ this -> objects = $ objects ; }
checks input array for ObjectInFolderDataInterface and sets objects

@param ObjectInFolderDataInterface[] $objects
checks input array for ObjectInFolderDataInterface and sets objects