- 博客(38)
- 资源 (3)
- 收藏
- 关注
原创 每天laravel-20160728| Genaerator command-6
/** * Replace the class name for the given stub. * * @param string $stub * @param string $name * @return string */ protected function replaceClass($stub, $name)//r
2016-04-29 14:55:14 241
原创 每天laravel-20160727| Genaerator command-5
/** * Build the directory for the class if necessary. * * @param string $path * @return string */ protected function makeDirectory($path)// make Directory { i
2016-04-29 09:37:26 570
原创 每天laravel-20160726| Genaerator command-4
/** * Get the destination class path. * * @param string $name * @return string */ protected function getPath($name) { $name = str_replace($this->laravel->getN
2016-04-28 09:01:20 224
原创 每天laravel-20160725| Genaerator command-3
/** * Determine if the class already exists. * * @param string $rawName * @return bool */ protected function alreadyExists($rawName)// variable is name { $nam
2016-04-27 08:41:01 273
原创 每天laravel-20160725| Genaerator command-2
/** * Get the stub file for the generator. * * @return string */ abstract protected function getStub();//Get the stub file for the generator /** * Execute the console co
2016-04-26 23:19:34 265
原创 每天laravel-20160724|abstract Genaerator-1
namespace Illuminate\Console;use Illuminate\Support\Str;use Illuminate\Filesystem\Filesystem;use Symfony\Component\Console\Input\InputArgument;// use namespaceabstract class GeneratorCommand extend
2016-04-25 08:55:16 222
原创 每天laravel-20160723|Application-3
/** * Resolve an array of commands through the application. * * @param array|mixed $commands * @return $this */ public function resolveCommands($commands)// function name
2016-04-22 09:15:28 229
原创 每天laravel-20160722|Application-2
/** * Add a command to the console. * * @param \Symfony\Component\Console\Command\Command $command * @return \Symfony\Component\Console\Command\Command */ public function
2016-04-21 08:40:47 233
原创 每天laravel-20160721|Application-1
namespace Illuminate\Console;use Illuminate\Contracts\Events\Dispatcher;use Illuminate\Contracts\Container\Container;use Symfony\Component\Console\Input\ArrayInput;use Symfony\Component\Console\Inpu
2016-04-20 09:44:30 485
原创 每天laravel-20160720|ScheduleServiceProvid
<?phpnamespace Illuminate\Console;use Illuminate\Support\ServiceProvider;// my name spaceclass ScheduleServiceProvider extends ServiceProvider{// ScheduleService Provider extends ServiceProvider
2016-04-20 09:41:45 272
原创 每天laravel-20160719|Parser
<?phpnamespace Illuminate\Console;use Illuminate\Support\Str;use InvalidArgumentException;use Symfony\Component\Console\Input\InputOption;use Symfony\Component\Console\Input\InputArgument;// my nam
2016-04-19 09:42:23 500
原创 每天laravel-20160718|Command-2
// 2016-04-15 /** * Call another console command. * * @param string $command * @param array $arguments * @return int */ public function call($command, array $
2016-04-18 09:48:01 339
原创 每天laravel-20160716|OutputStyle
<?phpnamespace Illuminate\Console;use Symfony\Component\Console\Style\SymfonyStyle;use Symfony\Component\Console\Input\InputInterface;use Symfony\Component\Console\Output\OutputInterface;// namespac
2016-04-15 09:41:58 636
原创 每天laravel-20160717|Command-1
namespace Illuminate\Console;use Illuminate\Contracts\Support\Arrayable;use Symfony\Component\Console\Helper\Table;use Symfony\Component\Console\Input\ArrayInput;use Symfony\Component\Console\Output
2016-04-15 09:40:02 289
原创 每天laravel-20160715|ConfirmableTrait
<?phpnamespace Illuminate\Console;use Closure;// namespacetrait ConfirmableTrait{ /** * Confirm before proceeding with the action. * * @param string $warning * @param \C
2016-04-14 09:49:00 326
原创 每天laravel-20160714|AppNamespaceDetectorT
<?phpnamespace Illuminate\Console;use Illuminate\Container\Container;// use namespacetrait AppNamespaceDetectorTrait{ /** * Get the application namespace. * * @return string
2016-04-14 09:43:48 248
原创 每天laravel-20160713|ScheduleRunCommand
<?phpnamespace Illuminate\Console\Scheduling;use Illuminate\Console\Command;// namespace is very good,like a dir or a folderclass ScheduleRunCommand extends Command{ /** * The console comma
2016-04-14 09:42:41 3077
原创 每天laravel-20160712|Schedule
<?phpnamespace Illuminate\Console\Scheduling;use Symfony\Component\Process\ProcessUtils;use Symfony\Component\Process\PhpExecutableFinder;// use namespace.class Schedule{ /** * All of the
2016-04-13 09:19:15 314
原创 每天laravel-20160711|Event-2
// 2016-04-11 /* Determine if the filters pass for the event. * * @param \Illuminate\Contracts\Foundation\Application $app * @return bool */ public function filtersPass($a
2016-04-12 09:50:21 401
原创 每天laravel-20160710|Event
<?phpnamespace Illuminate\Console\Scheduling;use Closure;use Carbon\Carbon;use LogicException;use Cron\CronExpression;use GuzzleHttp\Client as HttpClient;use Illuminate\Contracts\Mail\Mailer;use
2016-04-11 09:43:17 436
原创 每天laravel-20160709|CallEvent
<?phpnamespace Illuminate\Console\Scheduling;use LogicException;use InvalidArgumentException;use Illuminate\Contracts\Container\Container;// namespace to useclass CallbackEvent extends Event{
2016-04-08 10:45:49 491
原创 每天laravel-20160708|Repository
<?phpnamespace Illuminate\Config;use ArrayAccess;use Illuminate\Support\Arr;use Illuminate\Contracts\Config\Repository as ConfigContract;// a knowledge library ,that is a namespaceclass Repository
2016-04-08 09:03:42 274
原创 每天laravel-20160707|KeyWritten
<?phpnamespace Illuminate\Cache\Events;// name spaceclass KeyWritten{ /** * The key that was written. * * @var string */ public $key;// a key /** * The value that
2016-04-07 10:05:03 322
原创 每天laravel-20160706|KeyForgotten
<?phpnamespace Illuminate\Cache\Events;class KeyForgotten{ /** * The key that was forgotten. * * @var string */ public $key;// a key /** * The tags that were assign
2016-04-07 10:02:24 200
原创 每天laravel-20160705|CahceMissed
<?phpnamespace Illuminate\Cache\Events;// namespaceclass CacheMissed{ /** * THe key that was missed. * * @var string */ public $key;// key be used /** * The tags
2016-04-07 10:00:48 221
原创 每天laravel-20160704|CahceHit
<?phpnamespace Illuminate\Cache\Events;// namespace to setclass CacheHit{ /** * The key that was hit. * * @var string */ public $key;// a cache key will be hit /**
2016-04-07 09:57:41 199
原创 每天laravel-20160703|ClearCommand
<?phpnamespace Illuminate\Cache\Console;use Illuminate\Console\Command;use Illuminate\Cache\CacheManager;use Symfony\Component\Console\Input\InputArgument;// namespace to doneclass ClearCommand ext
2016-04-07 09:55:22 253
原创 每天laravel-20160702|CacheTableCommand
<?phpnamespace Illuminate\Cache\Console;use Illuminate\Console\Command;use Illuminate\Support\Composer;use Illuminate\Filesystem\Filesystem;// a namespace like folder ,so enoughclass CacheTableComm
2016-04-07 09:52:41 292
原创 每天laravel-20160701|Repository
<?phpnamespace Illuminate\Cache;use Closure;use DateTime;use ArrayAccess;use Carbon\Carbon;use BadMethodCallException;use Illuminate\Contracts\Cache\Store;use Illuminate\Support\Traits\Macroable;
2016-04-06 10:36:21 2038
原创 每天laravel-20160630|Repository -1
namespace Illuminate\Cache;use Closure;use DateTime;use ArrayAccess;use Carbon\Carbon;use BadMethodCallException;use Illuminate\Contracts\Cache\Store;use Illuminate\Support\Traits\Macroable;use
2016-04-05 09:26:33 553 3
原创 每天laravel-20160629|RedisTaggedCache
<?phpnamespace Illuminate\Cache;// a namespace Cacheclass RedisTaggedCache extends TaggedCache{// a cache class about the Cache use in RedisTagged /** * Forever reference key. * *
2016-04-05 09:00:46 399
原创 每天laravel-20160628|TaggedCache
<?phpnamespace Illuminate\Cache;use Illuminate\Contracts\Cache\Store;// a namespace about Store;class TaggedCache extends Repository{// TaggedCache a son about the Repository, use RetrievesMulti
2016-04-03 21:49:44 255
原创 每天laravel-20160627|TaggableStore
<?phpnamespace Illuminate\Cache;// a namespaceabstract class TaggableStore{ /** * Begin executing a new tags operation. * * @param array|mixed $names * @return \Illuminate\
2016-04-02 22:57:10 481
原创 每天laravel-20160626|RetrievesMultipleKeys
<?phpnamespace Illuminate\Cache;// a namespacetrait RetrievesMultipleKeys{// has a name Retrieves Multiple Keys /** * Retrieve multiple items from the cache by key. * * Items not
2016-04-02 22:54:02 360
原创 每天laravel-20160625|RedisStore
<?phpnamespace Illuminate\Cache;use Illuminate\Contracts\Cache\Store;use Illuminate\Redis\Database as Redis;// a namespace to enoughclass RedisStore extends TaggableStore implements Store{// a Stor
2016-04-02 22:28:42 636
原创 每天laravel-20160624|RateLimiter
<?phpnamespace Illuminate\Cache;use Illuminate\Contracts\Cache\Repository as Cache;// declare namespaceclass RateLimiter{// RateLimiter /** * The cache store implementation. * * @
2016-04-01 09:12:49 848
原创 每天laravel-20160623|NullStore
<?phpnamespace Illuminate\Cache;use Illuminate\Contracts\Cache\Store;// a name space to declareclass NullStore extends TaggableStore implements Store{ use RetrievesMultipleKeys;// use a traits ,
2016-04-01 08:49:54 438
原创 每天laravel-20160622|MeacachedStore
<?phpnamespace Illuminate\Cache;use Memcached;use Illuminate\Contracts\Cache\Store;// a namespace about the userclass MemcachedStore extends TaggableStore implements Store{// a Store about Memcache
2016-04-01 08:39:25 309
windows 64 redis 2.8
2016-07-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人