Adjacency tree behavior for yii2 ActiveRecord