public function store(Request $request)
    {
        $attributes = request()->validate(PhotoAlbum::$rules, PhotoAlbum::$messages);

        $album = $this->createEntry(PhotoAlbum::class, $attributes);

        return redirect_to_resource();
    }
public function store(Request $request)
    {
        $attributes = request()->validate(PhotoAlbum::$rules, PhotoAlbum::$messages);

        $album = $this->createEntry(PhotoAlbum::class, $attributes);

        return redirect_to_resource();
    }
public function store ( Request $ request ) { $ attributes = request ( ) -> validate ( PhotoAlbum :: $ rules , PhotoAlbum :: $ messages ) ; $ album = $ this -> createEntry ( PhotoAlbum :: class , $ attributes ) ; return redirect_to_resource ( ) ; }
Store a newly created photo_album in storage.

@param Request $request
@return Response
Store a newly created photo_album in storage .