Skip to content

Commit

Permalink
Un commit más
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoboso committed Oct 17, 2014
1 parent 8fad7c3 commit ac896c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/gtoboso/FooBar/Model/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

abstract class Bar
{
/**
* @var string
*/
protected $lala;

public function __construct($lala)
{
$this->lala = $lala;
}

/**
* Attempt do anything
*/
Expand Down
4 changes: 3 additions & 1 deletion src/gtoboso/FooBar/Model/Foo.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ class Foo extends Bar implements FooInterface
*/
private $collection;

public function __construct()
public function __construct($lala)
{
parent::__construct($lala);

$this->collection = array();
}
/**
Expand Down

0 comments on commit ac896c8

Please sign in to comment.