public function __construct(array $tokens)
{
$this->model = $tokens['model'];
if (isset($tokens['slug'])) {
$this->slug = $tokens['slug'];
}
if (isset($tokens['parent'])) {
$this->parent = $tokens['parent'];
$this->child = $tokens['child'];
}
}