Answer the question
In order to leave comments, you need to log in
Why doesn't try catch work on yiith exceptions?
I need to override the ActiveRecord getter like this:
public function __get($name)
{
try {
return parent::__get($name);
} catch (Exception $e) {
return $name; // моя магия
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question