protected function createRemote($name = 'name', $url = 'url') { $remote = new Remote(); return $remote->setName($name)->setUrl($url); }