Permalink
Browse files

Factory

  • Loading branch information...
zeleznypa committed Jul 14, 2013
1 parent ad4983d commit 7c0bcc55df16a9cdef95b3f029c114deda06adc4
Showing with 10 additions and 0 deletions.
  1. +10 −0 Zeleznypa/Curl/Curl.php
@@ -54,6 +54,16 @@ public function __construct($url = NULL)
$this->setSerializeDataFunction(array($this, 'serializeData'));
}
/**
* Factory
* @author Pavel Železný <info@pavelzelezny.cz>
* @return \Zeleznypa\Curl\Curl Provides fluent interface
*/
public static function create()
{
return new self;
}
/**
* URL argument getter
* @author Pavel Železný <info@pavelzelezny.cz>

0 comments on commit 7c0bcc5

Please sign in to comment.