protected function createProperty($type)
    {
        return $this->getSchema()->getFactory()->createProperty(
            [ 'type' => $type, 'name' => $this->getName().'_item', 'required' => true ],
            $this->getSchema(),
            $this
        );
    }
protected function createProperty($type)
    {
        return $this->getSchema()->getFactory()->createProperty(
            [ 'type' => $type, 'name' => $this->getName().'_item', 'required' => true ],
            $this->getSchema(),
            $this
        );
    }
protected function createProperty ( $ type ) { return $ this -> getSchema ( ) -> getFactory ( ) -> createProperty ( [ 'type' => $ type , 'name' => $ this -> getName ( ) . '_item' , 'required' => true ] , $ this -> getSchema ( ) , $ this ) ; }
Creates a child-property that will be used as a proxy-target for the parent property's validation.

@param string $type The type key of the property to create.

@return PropertyInterface
Creates a child - property that will be used as a proxy - target for the parent property s validation .