public function setChildren(array $children)
    {
        foreach ($children as $child) {
            $this->checkType(ObjectInFolderContainerInterface::class, $child);
        }

        $this->children = $children;
    }
public function setChildren(array $children)
    {
        foreach ($children as $child) {
            $this->checkType(ObjectInFolderContainerInterface::class, $child);
        }

        $this->children = $children;
    }
public function setChildren ( array $ children ) { foreach ( $ children as $ child ) { $ this -> checkType ( ObjectInFolderContainerInterface :: class , $ child ) ; } $ this -> children = $ children ; }
checks input array for ObjectInFolderContainerInterface and sets objects

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