sonata-project/SonataPageBundle — Issue #19: Problem with Snapshot class
Author: i3or1s
Created: 2011-11-14 15:29:32+00:00
State: open

Problem occurs in method setPage.

Problem is in parameter definition, it does not follow given interface SnapshotInterface
public function setPage($page){
$this->page = $page;
}

Solution is:
public function setPage(PageInterface $page){
$this->page = $page;
}