peakphp/framework

View on GitHub
src/Blueprint/Collection/ObjectAccess.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Peak\Blueprint\Collection;

interface ObjectAccess
{
    /**
     * @param string $key
     * @return mixed
     */
    public function &__get(string $key);

    /**
     * @param string $key
     * @param mixed $value
     */
    public function __set(string $key, $value);

    /**
     * @param string $key
     * @return bool
     */
    public function __isset(string $key): bool;

    /**
     * @param string $key
     */
    public function __unset(string $key);
}