hasMany('Fieldprotocol\Music\Song'); } public function releaseYear() { return date('%Y', strtotime($this->release_date)); } }