FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DesignPatternsPHP/Prototype/BookPrototype.php at master · EndlessCoding/DesignPatternsPHP · GitHub
EndlessCoding
/
DesignPatternsPHP
Public
forked from
DesignPatternsPHP/DesignPatternsPHP
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
DesignPatternsPHP
/
Prototype
/
BookPrototype.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (35 loc) · 556 Bytes
Breadcrumbs
DesignPatternsPHP
/
Prototype
/
BookPrototype.php
Copy path
File metadata and controls
41 lines (35 loc) · 556 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
namespace
DesignPatterns
\
Prototype
;
/**
* class BookPrototype
*/
abstract
class
BookPrototype
{
/**
* @var string
*/
protected
$
title
;
/**
* @var string
*/
protected
$
category
;
/**
* @abstract
* @return void
*/
abstract
public
function
__clone
();
/**
* @return string
*/
public
function
getTitle
()
{
return
$
this
->
title
;
}
/**
* @param string $title
*/
public
function
setTitle
(
$
title
)
{
$
this
->
title
=
$
title
;
}
}
Back
|
FazBrowse Home
|
New Git URL