This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function createComponentFoo(IBar $fooFactory){ | |
return $fooFactory->create(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function createComponent($name) | |
{ | |
$ucname = ucfirst($name); | |
$method = 'createComponent' . $ucname; | |
if ($ucname !== $name && method_exists($this, $method)) { | |
$reflection = $this->getReflection()->getMethod($method); | |
if($reflection->getName() !== $method) { | |
return; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Nette\Application\UI\Presenter; | |
class TemplateFactory extends \Nette\Object | |
{ | |
/** | |
* @var \Nette\DI\Container | |
*/ | |
protected $container; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ImageResponse extends \Nette\Object implements \Nette\Application\IResponse | |
{ | |
/** @var \Nette\Image|string */ | |
private $image; | |
/** | |
* @param \Nette\Image|string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ContentResponse extends \Nette\Object implements \Nette\Application\IResponse | |
{ | |
protected $forDownload = FALSE; | |
/** @var string */ | |
private $file; | |
/** @var string */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Nette\Application\IRouter; | |
use Nette\Application\UI\InvalidLinkException; | |
use Nette\Application\UI\Presenter; | |
use Nette\Application; | |
use Nette\Http\Url; | |
use Nette\Object; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Nette Framework Extras | |
* | |
* This source file is subject to the New BSD License. | |
* @copyright Copyright (c) 2009 David Grudl | |
* @license New BSD License | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author David Matejka | |
*/ | |
class Identity extends \Nette\Object implements \Nette\Security\IIdentity | |
{ | |
/** @var int */ | |
protected $id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyAuthenticator extends Nette\Object implements IAuthenticator | |
{ | |
/** @var array */ | |
private $userlist; | |
/** | |
* @param array list of pairs username => password | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Nette\Http\Request; | |
class RefUrlFactory extends Object | |
{ | |
/** @var \Nette\Http\Url */ | |
protected $fallbackUrl; | |
/** @var \Nette\Http\Request */ |
OlderNewer