src/PlaygroundFacebook/Entity/App.php
public function addPages(ArrayCollection $pages)
    {
        foreach ($pages as $page) {
            $page->addApp($this);
            $this->pages->add($page);
        }
    }
public function addPages(ArrayCollection $pages)
    {
        foreach ($pages as $page) {
            $page->addApp($this);
            $this->pages->add($page);
        }
    }
public function addPages ( ArrayCollection $ pages ) { foreach ( $ pages as $ page ) { $ page -> addApp ( $ this ) ; $ this -> pages -> add ( $ page ) ; } }
Add pages to the app.

@param ArrayCollection $pages

@return void
Add pages to the app .