protected function getWriteRepository(ContentType $contentType) { return $this->app['repository.eloquent.' . $contentType->getKey()]; }
public function isProjectsContentType(ContentType $contentType) { return $contentType->getKey() == $this->getProjectKey(); }