public function addPhoto($photo)
    {
        $photos = AnHelperArray::getIterator($photo);

        foreach ($photos as $photo) {
            if (!$this->photos->find($photo)) {
                $this->photos->insert($photo, array(
                     'author' => $photo->author,
                ));
            }
        }
    }