Skip to content

Commit

Permalink
remove unnecessary method from AbstractModel
Browse files Browse the repository at this point in the history
  • Loading branch information
albertborsos committed Jun 21, 2019
1 parent aa68841 commit 00839a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/models/AbstractModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ abstract class AbstractModel extends Component
*/
private $_errors;

/**
* @return array
*/
abstract protected function getAttributes();

public function __construct(FormObject $form = null, BusinessObject $model = null)
{
if ($form) {
Expand Down
8 changes: 0 additions & 8 deletions src/models/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,4 @@ abstract class AbstractService extends AbstractModel
* @return boolean
*/
abstract public function execute();

/**
* @return array
*/
protected function getAttributes()
{
return $this->getForm()->getAttributes();
}
}

0 comments on commit 00839a0

Please sign in to comment.