public function init()
{
parent::init();
if ($this->attribute === null) {
throw new InvalidConfigException('The "attribute" property must be set.');
}
if ($this->path === null) {
throw new InvalidConfigException('The "path" property must be set.');
}
if ($this->url === null) {
throw new InvalidConfigException('The "url" property must be set.');
}
}