swaggest/php-json-schema

View on GitHub
src/Structure/ObjectItemContract.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Swaggest\JsonSchema\Structure;


interface ObjectItemContract extends \ArrayAccess, \JsonSerializable, \Iterator
{
    public function getNestedObject($className);
    public function setNestedProperty($propertyName, $value, Egg $nestedEgg);
    public function addAdditionalPropertyName($name);
    public function setDocumentPath($path);
    public function setFromRef($ref);
    public function toArray();

    /**
     * @return string
     * @deprecated
     */
    public function getFromRef();

    /**
     * @return string[]|null
     */
    public function getFromRefs();
}