public function getRepositoryPathAttribute() { $info = $this->accessDetails(); if (isset($info['reference'])) { return $info['reference']; } return false; }