This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
43 changes: 43 additions & 0 deletions
43
tests/ZendTest/Stdlib/TestAsset/ClassMethodsInvalidParameter.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Stdlib | ||
*/ | ||
namespace ZendTest\Stdlib\TestAsset; | ||
|
||
class ClassMethodsInvalidParameter | ||
{ | ||
public function hasAlias($alias) | ||
{ | ||
return $alias; | ||
} | ||
|
||
public function getTest($foo) | ||
{ | ||
return $foo; | ||
} | ||
|
||
public function isTest($bar) | ||
{ | ||
return $bar; | ||
} | ||
|
||
public function hasBar() | ||
{ | ||
return true; | ||
} | ||
|
||
public function getFoo() | ||
{ | ||
return "Bar"; | ||
} | ||
|
||
public function isBla() | ||
{ | ||
return false; | ||
} | ||
} |