Pheasant\SchemaBuilder::properties PHP Метод

properties() публичный Метод

Sets the schema properties chainable
public properties ( $map )
    public function properties($map)
    {
        foreach ($map as $name => $type) {
            $this->_properties[$name] = new Property($name, $type);
        }
        return $this;
    }