creocoder\translateable\TranslateableBehavior::__set PHP Method

__set() public method

public __set ( $name, $value )
    public function __set($name, $value)
    {
        $translation = $this->getTranslation();
        $translation->setAttribute($name, $value);
    }