mirror of
https://github.com/flarum/core.git
synced 2025-10-15 00:44:40 +02:00
Add header comment; PSR-2 fixes; remove seeders
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core;
|
||||
|
||||
use Closure;
|
||||
use RuntimeException;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Events\ModelAllow;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core;
|
||||
|
||||
use Flarum\Core;
|
||||
use Flarum\Support\ServiceProvider;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Discussions\DiscussionRepository;
|
||||
use Flarum\Events\DiscussionWillBeDeleted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Discussions\DiscussionRepository;
|
||||
use Flarum\Events\DiscussionWillBeSaved;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Discussions\DiscussionRepository;
|
||||
use Flarum\Events\DiscussionStateWillBeSaved;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Commands;
|
||||
|
||||
use Flarum\Events\DiscussionWillBeSaved;
|
||||
use Flarum\Core\Forum;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
use Flarum\Events\DiscussionWasDeleted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions;
|
||||
|
||||
use Flarum\Events\DiscussionWasRead;
|
||||
use Flarum\Core\Model;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions;
|
||||
|
||||
use Flarum\Core\Search\GambitManager;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Listeners;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Listeners;
|
||||
|
||||
use Flarum\Core\Posts\Post;
|
||||
use Flarum\Events\PostWasPosted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search;
|
||||
|
||||
use Flarum\Core\Search\Search;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search;
|
||||
|
||||
use Flarum\Core\Discussions\Discussion;
|
||||
use Flarum\Core\Search\AppliesParametersToSearch;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search\Fulltext;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search\Fulltext;
|
||||
|
||||
interface Driver
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search\Fulltext;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search\Fulltext;
|
||||
|
||||
use Flarum\Core\Posts\Post;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
|
||||
use Flarum\Core\Discussions\Search\DiscussionSearch;
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
|
||||
use Flarum\Core\Discussions\Search\DiscussionSearch;
|
||||
use Flarum\Core\Discussions\Search\Fulltext\Driver;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Discussions\Search\Gambits;
|
||||
|
||||
use Flarum\Core\Discussions\DiscussionRepository;
|
||||
use Flarum\Core\Discussions\Search\DiscussionSearch;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Exceptions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Exceptions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Exceptions;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Formatter;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Formatter;
|
||||
|
||||
use Illuminate\Contracts\Cache\Repository;
|
||||
use s9e\TextFormatter\Configurator;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Formatter;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Formatter;
|
||||
|
||||
use Flarum\Support\ServiceProvider;
|
||||
use Flarum\Extend;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core;
|
||||
|
||||
use Flarum\Core\Support\Locked;
|
||||
use Flarum\Core;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
use Flarum\Core\Forum;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
use Flarum\Core\Groups\GroupRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups\Commands;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
use Flarum\Core\Groups\GroupRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
use Flarum\Core\Support\Locked;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups;
|
||||
|
||||
use Flarum\Events\ModelAllow;
|
||||
use Flarum\Support\ServiceProvider;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Groups;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Groups;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core;
|
||||
|
||||
use Flarum\Core\Exceptions\PermissionDeniedException;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
/**
|
||||
* A notification Blueprint, when instantiated, represents a notification about
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications\Commands;
|
||||
|
||||
use Flarum\Core\Notifications\Notification;
|
||||
use Flarum\Core\Exceptions\PermissionDeniedException;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Core\Posts\DiscussionRenamedPost;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications\Listeners;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications\Listeners;
|
||||
|
||||
use Flarum\Events\DiscussionWasRenamed;
|
||||
use Flarum\Core\Posts\DiscussionRenamedPost;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
interface MailableBlueprint
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Illuminate\Contracts\Mail\Mailer;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Events\NotificationWillBeSent;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Notifications;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Notifications;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Events\RegisterNotificationTypes;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Core\Posts\PostRepository;
|
||||
use Flarum\Events\PostWillBeDeleted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Core\Posts\PostRepository;
|
||||
use Flarum\Events\PostWillBeSaved;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts\Commands;
|
||||
|
||||
use Flarum\Events\PostWillBeSaved;
|
||||
use Flarum\Core\Discussions\DiscussionRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
use DomainException;
|
||||
use Flarum\Core\Formatter\Formatter;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
/**
|
||||
* A post which indicates that a discussion's title was changed.
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
abstract class EventPost extends Post
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
/**
|
||||
* A post that has the ability to be merged into an adjacent post.
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
use DomainException;
|
||||
use Flarum\Events\PostWasDeleted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
use Flarum\Core\Discussions\Discussion;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Posts;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Posts;
|
||||
|
||||
use Illuminate\Database\Eloquent\ScopeInterface;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
trait AppliesParametersToSearch
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
interface Gambit
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
use Illuminate\Contracts\Container\Container;
|
||||
use LogicException;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
abstract class RegexGambit implements Gambit
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Search;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Search;
|
||||
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
|
@@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Settings;
|
||||
|
||||
use Illuminate\Database\ConnectionInterface;
|
||||
|
@@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Settings;
|
||||
|
||||
class MemoryCacheSettingsRepository implements SettingsRepository
|
||||
@@ -29,7 +38,7 @@ class MemoryCacheSettingsRepository implements SettingsRepository
|
||||
{
|
||||
if (array_key_exists($key, $this->cache)) {
|
||||
return $this->cache[$key];
|
||||
} else if (!$this->isCached) {
|
||||
} elseif (!$this->isCached) {
|
||||
return array_get($this->all(), $key, $default);
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Settings;
|
||||
|
||||
interface SettingsRepository
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Settings;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Settings;
|
||||
|
||||
use Flarum\Support\ServiceProvider;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Support;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Support;
|
||||
|
||||
trait DispatchesEvents
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Support;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Support;
|
||||
|
||||
trait EventGenerator
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Support;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Support;
|
||||
|
||||
use Flarum\Core\Exceptions\PermissionDeniedException;
|
||||
use Flarum\Core\Users\User;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Support;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Support;
|
||||
|
||||
use Flarum\Events\ModelValidator;
|
||||
use Illuminate\Validation\Factory;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Support;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Support;
|
||||
|
||||
use Flarum\Events\ScopeModelVisibility;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
class ConfirmEmail
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
use Flarum\Events\UserWillBeSaved;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Events\AvatarWillBeDeleted;
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Events\UserWillBeSaved;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
class RequestPasswordReset
|
||||
{
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Settings\SettingsRepository;
|
||||
use Flarum\Core\Users\PasswordToken;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Psr\Http\Message\UploadedFileInterface;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Commands;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Commands;
|
||||
|
||||
use Flarum\Events\AvatarWillBeSaved;
|
||||
use Flarum\Core\Users\UserRepository;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users;
|
||||
|
||||
use Flarum\Core\Groups\Group;
|
||||
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Listeners;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Listeners;
|
||||
|
||||
use Flarum\Core\Settings\SettingsRepository;
|
||||
use Flarum\Events\UserWasRegistered;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users\Listeners;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users\Listeners;
|
||||
|
||||
use Flarum\Core\Users\User;
|
||||
use Flarum\Events\PostWasPosted;
|
||||
|
@@ -1,4 +1,14 @@
|
||||
<?php namespace Flarum\Core\Users;
|
||||
<?php
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Flarum\Core\Users;
|
||||
|
||||
use Flarum\Core\Model;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user