Pop\Color\Color::__get PHP Метод

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

Get method to return the value of colors[$name].
public __get ( string $name ) : mixed
$name string
Результат mixed
    public function __get($name)
    {
        $name = strtolower($name);
        return array_key_exists($name, $this->colors) ? $this->colors[$name] : null;
    }